<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 4.2.0">
  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/images/logo.svg" color="#222">

<link rel="stylesheet" href="/css/main.css">


<link rel="stylesheet" href="/lib/font-awesome/css/all.min.css">

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"yoursite.com","root":"/","scheme":"Muse","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":false,"show_result":false,"style":null},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":false,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}}};
  </script>

  <meta name="description" content="学习日志5月3日1.配置win7的gitee仓库，添加公钥2.配置macos的gitee仓库，添加公钥">
<meta property="og:type" content="article">
<meta property="og:title" content="My New Post">
<meta property="og:url" content="http://yoursite.com/2020/05/11/gz/index.html">
<meta property="og:site_name" content="编程学习笔记">
<meta property="og:description" content="学习日志5月3日1.配置win7的gitee仓库，添加公钥2.配置macos的gitee仓库，添加公钥">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2020-05-11T08:24:17.000Z">
<meta property="article:modified_time" content="2020-05-12T00:38:54.695Z">
<meta property="article:author" content="szj">
<meta name="twitter:card" content="summary">

<link rel="canonical" href="http://yoursite.com/2020/05/11/gz/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : false,
    isPost : true,
    lang   : 'zh-CN'
  };
</script>

  <title>My New Post | 编程学习笔记</title>
  






  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <h1 class="site-title">编程学习笔记</h1>
      <span class="logo-line-after"><i></i></span>
    </a>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
    </div>
  </div>
</div>




<nav class="site-nav">
  <ul id="menu" class="main-menu menu">
        <li class="menu-item menu-item-home">

    <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a>

  </li>
        <li class="menu-item menu-item-archives">

    <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a>

  </li>
  </ul>
</nav>




</div>
    </header>

    
  <div class="back-to-top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content post posts-expand">
            

    
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/05/11/gz/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.gif">
      <meta itemprop="name" content="szj">
      <meta itemprop="description" content="">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="编程学习笔记">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          My New Post
        </h1>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>

              <time title="创建时间：2020-05-11 16:24:17" itemprop="dateCreated datePublished" datetime="2020-05-11T16:24:17+08:00">2020-05-11</time>
            </span>
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="far fa-calendar-check"></i>
                </span>
                <span class="post-meta-item-text">更新于</span>
                <time title="修改时间：2020-05-12 08:38:54" itemprop="dateModified" datetime="2020-05-12T08:38:54+08:00">2020-05-12</time>
              </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
        <h1 id="学习日志"><a href="#学习日志" class="headerlink" title="学习日志"></a>学习日志</h1><h2 id="5月3日"><a href="#5月3日" class="headerlink" title="5月3日"></a>5月3日</h2><p>1.配置win7的gitee仓库，添加公钥<br>2.配置macos的gitee仓库，添加公钥</p>
<a id="more"></a>
<h2 id="5月4日"><a href="#5月4日" class="headerlink" title="5月4日"></a>5月4日</h2><p>1.整理使用教程：</p>
<p>（1）正常维护操作</p>
<p>修改代码后，在仓库目录下执行下面命令</p>
<p><code>$ git add . #将当前目录所有文件添加到git暂存区</code><br><code>$ git commit -m &quot;my first commit&quot; #提交并备注提交信息</code><br><code>$ git push origin master #将本地提交推送到远程仓库</code></p>
<p>（2）本地全新开始一个项目仓库的方法：</p>
<p>本地初始化一个仓库，设置远程仓库地址后再做push</p>
<p>先进入本地项目文件夹，<br><code>$ git init</code><br><code>$ git remote add origin https://gitee.com/用户个性地址/HelloGitee.git</code><br>这样就完成了版本的一次初始化。<br>接下去，进入你已经初始化好的或者克隆仓库的目录,然后执行：</p>
<p><code>$ git pull origin master</code><br>修改/添加文件，否则与原文件相比就没有变动。</p>
<p><code>$ git add .</code><br><code>$ git commit -m &quot;第一次提交&quot;</code><br><code>$ git push origin master</code></p>
<p>2.刚开始时多次提交不成功，原来是仓库文件大小有限制，我上传的大约1G多的文件。后来删除掉视频之后重新clone仓库，push成功。</p>
<p>3.gitee仓库的容量限制：<br>社区版（个人用户）</p>
<table>
<thead>
<tr>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody><tr>
<td>仓库数量</td>
<td>创建 1000 个仓库，不限制公私有。</td>
</tr>
<tr>
<td>仓库容量</td>
<td>Git 单仓库容量上限为 500M ，SVN 单仓库容量上限为 400M</td>
</tr>
<tr>
<td>单文件最大</td>
<td>100M</td>
</tr>
<tr>
<td>用户总仓库容量为</td>
<td>5G</td>
</tr>
<tr>
<td>注：总仓库定义为用户名下以及所创建的组织下面的所有仓库。</td>
<td></td>
</tr>
<tr>
<td>附件容量</td>
<td>附件单文件大小上限为 100MB</td>
</tr>
<tr>
<td>单仓库附件总容量</td>
<td>1G</td>
</tr>
<tr>
<td>成员人数</td>
<td>公有仓库成员数量不限。</td>
</tr>
<tr>
<td>个人账号下所有私有仓库总的协作人数</td>
<td>5人</td>
</tr>
</tbody></table>
<p>4.Pages 进阶，使用 Jekyll、Hugo、Hexo 生成自己的静态网页<br>Jekyll、Hugo、Hexo 究竟是什么？</p>
<p>Jekyll、Hugo、Hexo 是简单的博客形态的静态站点生产机器。它有一个模版目录，其中包含原始文本格式的文档，通过 Markdown 以及 Liquid 转化成一个完整的可发布的静态网站，你可以发布在任何你喜爱的服务器上。Jekyll、Hugo、Hexo 也可以运行在 码云（Gitee.com） Pages 上，也就是说，你可以使用码云的服务来搭建你的仓库页面、博客或者网站，而且是完全免费的。</p>
<p>Jekyll 使用文档：<a href="https://www.jekyll.com.cn/docs/home/" target="_blank" rel="noopener">https://www.jekyll.com.cn/docs/home/</a><br>Hugo 使用文档：<a href="https://gohugo.io/documentation/" target="_blank" rel="noopener">https://gohugo.io/documentation/</a><br>Hexo 使用文档：<a href="https://hexo.io/docs/" target="_blank" rel="noopener">https://hexo.io/docs/</a></p>
<p>5.在ayxexkt下新建仓库ayxezkt个人博客的html空间，访问地址：<br><a href="https://ayxezkt.gitee.io/" target="_blank" rel="noopener">https://ayxezkt.gitee.io/</a><br>页面中文显示为乱码，拉回本地打开正常。</p>
<p>6.拆我自己的dell上网本，取出屏幕，和无线网卡，发现无线网卡型号为dw1510（bcm94322）据说是黑苹果下可用的乞丐版网卡，接口mini-pci-e。可是联想笔记本有网卡白名单，无法直接使用，需要刷bios。网上查资料：刷bios只能拆机用编程器刷，软件无法刷。</p>

    </div>

    
    
    

      <footer class="post-footer">

        


        
    <div class="post-nav">
      <div class="post-nav-item">
    <a href="/2020/05/11/hello-world/" rel="prev" title="Hello World">
      <i class="fa fa-chevron-left"></i> Hello World
    </a></div>
      <div class="post-nav-item">
    <a href="/2020/05/12/5%E6%9C%886%E6%97%A5/" rel="next" title="5月6日">
      5月6日 <i class="fa fa-chevron-right"></i>
    </a></div>
    </div>
      </footer>
    
  </article>
  
  
  



          </div>
          

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
          <div class="post-toc motion-element"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#学习日志"><span class="nav-number">1.</span> <span class="nav-text">学习日志</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#5月3日"><span class="nav-number">1.1.</span> <span class="nav-text">5月3日</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#5月4日"><span class="nav-number">1.2.</span> <span class="nav-text">5月4日</span></a></li></ol></li></ol></div>
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
  <p class="site-author-name" itemprop="name">szj</p>
  <div class="site-description" itemprop="description"></div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/archives/">
        
          <span class="site-state-item-count">18</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
  </nav>
</div>



      </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

        

<div class="copyright">
  
  &copy; 
  <span itemprop="copyrightYear">2020</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">szj</span>
</div>
  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://muse.theme-next.org/" class="theme-link" rel="noopener" target="_blank">NexT.Muse</a> 强力驱动
  </div>

        








      </div>
    </footer>
  </div>

  
  <script src="/lib/anime.min.js"></script>
  <script src="/lib/velocity/velocity.min.js"></script>
  <script src="/lib/velocity/velocity.ui.min.js"></script>

<script src="/js/utils.js"></script>

<script src="/js/motion.js"></script>


<script src="/js/schemes/muse.js"></script>


<script src="/js/next-boot.js"></script>




  















  

  

</body>
</html>
